jQuery.fn.liScroll = function(settings) {
		settings = jQuery.extend({
		travelocity: 0.03 //0.04
		}, settings);		
		return this.each(function(){
				var $strip = jQuery(this);
				$strip.addClass("newsticker");
				var stripWidth = 0;
				var containerWidth = $strip.parent().parent().width();
				
				$strip.find("li").each(function(i){
					
					stripWidth += jQuery(this, i).width();
					
				});
				
				var defTiming = stripWidth/settings.travelocity;
				var totalTravel = stripWidth + containerWidth;
				
				function scrollnews(spazio, tempo){
					
				$strip.animate({left: '-='+ spazio}, tempo, "linear", 
					function(){
						$strip.css("left", stripWidth);
						
						scrollnews(totalTravel, defTiming);
						
					}
				
				);
				
				}
				
				scrollnews(totalTravel, defTiming);		
				
				
				$strip.find("#tickerstop").hover(function(){
					$strip.stop();					
				},
				function(){
					var afterHoverTiming = stripWidth/settings.travelocity;
					var afterHoverTravel = (stripWidth + containerWidth);
					
					scrollnews(afterHoverTravel, afterHoverTiming);								
				}
				
				);
						
		});	
};